package com.ctgu.server.dao.entity;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ctgu
 * @since 2023-06-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="FormHistory对象", description="")
public class FormHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "报名表ID")
    @TableId(value = "form_id", type = IdType.NONE)
    private String formId;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "目标组织ID")
    private String groupId;

    @ApiModelProperty(value = "用户介绍")
    private String description;

    @ApiModelProperty(value = "志愿排序")
    @TableField(value = "`index`")
    private Integer index;

    @ApiModelProperty(value = "报名时间")
    @TableField(fill = FieldFill.INSERT,value = "create_time")
    private Date createTime;
}
